package ds.queue;

import java.util.concurrent.locks.ReentrantLock;

/**
 * @param
 * @author oyz
 * @version 1.1.0
 * @description: 环形队列
 * @date 2022-9-28 17:31
 */
public class CircularQueue {

    private final ReentrantLock lock = new ReentrantLock(true);

    private final Object[] items;

    private final int length;

    // 头结点坐标
    private int head;

    // 尾结点坐标
    private int tail;

    public CircularQueue(Object[] items, int length) {
        this.items = items;
        this.length = length;
    }

    // 入队操作



}
